<%-- 
    Document   : viewSubscribedStudends
    Created on : 20-dec-2011, 12:42:23
    Author     : woutermkievit
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
        <h2>Subscribed to <A HREF='Menu?redirection=viewCourse&name=${Cn}'>${Cn}</a></h2>
        <table id="Ulist" >
            <tr>
                <th>First name</th>
                <th>Insertion</th>
                <th>Last name</th>
            </tr>
        <c:forEach items="${subscribedStud}" var="current2">
            <tr>
                <td>${current2[2]}</td>
                <td>${current2[3]}</td>
                <td>${current2[4]}</td>
                <td><a href="Menu?redirection=sendMail&to=${current2[0]}">Send message</a></td>
            </tr>
        </c:forEach>
        </table>
    </body>
</html>
